package cn.botter.auth.application.convert;


import cn.botter.auth.domain.entity.AuthUserBO;
import cn.botter.auth.entity.AuthUserDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


@Mapper
public interface AuthUserConvert {
    AuthUserConvert INSTANCE = Mappers.getMapper(AuthUserConvert.class);

    /**
     * AuthUserDTO转换为AuthUserBO
     */

    AuthUserBO convertDtoToBO(AuthUserDTO authUserDTO);

    AuthUserDTO convertBoToDto(AuthUserBO getUserBO);
}
